// 页面设置
export const SET_ACTIVITY_ID = 'SET_ACTIVITY_ID'
export const SET_PAGE_CONFIG_ID = 'SET_PAGE_CONFIG_ID'
export const SET_UNSAVED_STATE = 'SET_UNSAVED_STATE'
export const SET_PAGE_TITLE = 'SET_PAGE_TITLE'

// 画布设置
export const SET_CANVAS_SIZE = 'SET_CANVAS_SIZE'
export const SET_CANVAS_POSITION = 'SET_CANVAS_POSITION'

// 背景
export const ADD_BACKGROUND = 'ADD_BACKGROUND'
export const REMOVE_BACKGROUND = 'REMOVE_BACKGROUND'
export const SET_BACKGROUND_CONFIG = 'SET_BACKGROUND_CONFIG'

// 组件
export const ADD_ITEM = 'ADD_ITEM'
export const REMOVE_ITEM = 'REMOVE_ITEM'
export const REPLACE_POSTER_ITEMS = 'REPLACE_POSTER_ITEMS'
export const SET_WIDGET_CONFIG = 'SET_WIDGET_CONFIG'
export const COPY_WIDGET = 'COPY_WIDGET'
export const PASTE_WIDGET = 'PASTE_WIDGET'

// active状态的组件
export const ADD_ACTIVE_ITEM = 'ADD_ACTIVE_ITEM'
export const REMOVE_ACTIVE_ITEM = 'REMOVE_ACTIVE_ITEM'
export const REPLACE_ACTIVE_ITEMS = 'REPLACE_ACTIVE_ITEMS'

// 辅助组件
export const ADD_ASSIST_WIDGET = 'ADD_ASSIST_WIDGET'
export const REMOVE_ASSIST_WIDGET = 'REMOVE_ASSIST_WIDGET'
export const REPLACE_ASSIST_WIDGETS = 'REPLACE_ASSIST_WIDGETS'

// 图层面板
export const SET_LAYER_PANEL = 'SET_LAYER_PANEL'

// 参考线
export const SET_REFERENCE_LINE_VISIBLE = 'SET_REFERENCE_LINE_VISIBLE'
export const ADD_REFERENCE_LINE = 'ADD_REFERENCE_LINE'
export const REMOVE_REFERENCE_LINE = 'REMOVE_REFERENCE_LINE'
export const REMOVE_ALL_REFERENCE_LINE = 'REMOVE_ALL_REFERENCE_LINE'
export const SET_MATCHED_LINE = 'SET_MATCHED_LINE'
export const REMOVE_MATCHED_LINE = 'REMOVE_MATCHED_LINE'

